import request from '@/utils/request'

// 查询计算遥测列表
export function listCalc_yc(query) {
  return request({
    url: '/scada/calc_yc/list',
    method: 'get',
    params: query
  })
}

// 查询计算遥测详细
export function getCalc_yc(id) {
  return request({
    url: '/scada/calc_yc/' + id,
    method: 'get'
  })
}

// 新增计算遥测
export function addCalc_yc(data) {
  return request({
    url: '/scada/calc_yc',
    method: 'post',
    data: data
  })
}

// 修改计算遥测
export function updateCalc_yc(data) {
  return request({
    url: '/scada/calc_yc',
    method: 'put',
    data: data
  })
}

// 删除计算遥测
export function delCalc_yc(id) {
  return request({
    url: '/scada/calc_yc/' + id,
    method: 'delete'
  })
}
